home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
DHA demo
/
Don Norman Folder
/
Don Norman demo
/
Don Norman demo.rsrc
/
OWdf_32681_Glossary.def
< prev
next >
Wrap
Text File
|
1994-09-21
|
4KB
|
212 lines
WINDOWPROPERTIES
NAME:Glossary
CLOSESCRIPT:set donterase of window @WindowName to winc(@WindowName)
USELOCALRECTS:true
RECT:186,113,493,338
COLLAPSEDRECT:446,38,596,37
HSCROLL:false
VSCROLL:false
GROWICON:false
SCROLL:0,0
COLLAPSED:false
WANTSIDLETIME:true
ANIMATEDCURSORID:0
DONTERASE:false
NEVERSELECT:false
USEPALETTEID:0
CURSOR:0
IDLESCRIPT:
USERDATA:
SELECTSCRIPT:
PUTFILEDIALOGID:4500
SAVEBEFORECLOSING:true
ISCOLLAPSABLE:true
LIMITWINDOWRECT:true
SAVEMETHOD:Resource
SAVECHANGES:true
PICTURE
NAME:Picture1
VISIBLE:true
SCRIPT:beep┬
beep
CURSOR:128
TYPE:Resource
PATH:Glossary
TOPLEFT:0,0
RECT:0,0,307,226
FITTOFRAME:false
HASFRAME:false
MASK:false
SCROLL:0,0
TRIMRECT:-1,-1,-1,-1
USERDATA:
INKMODE:srcCopy
COLORTABLEID:0
DITHER:false
TEXT
NAME:Text2
VISIBLE:true
SCRIPT:put @WindowName into wn┬
ask "Go to which Glossary page?"┬
if it is a number┬
then┬
if it > 0 and it < 66┬
then┬
set the text1_page of window wn to it┬
set the page_textdata of window wn to it┬
end if┬
end if
CURSOR:128
TYPE:Describe
PATH:@StackPath:Sample Text:myTextFile
RECT:237,202,271,222
HASFRAME:false
INSET:1
TRANSPARENT:true
EDITABLE:false
SELECTABLE:false
PAGE:0
NUMBEROFPAGES:1
SCROLL:0,0
HASVSCROLL:false
LINEHEIGHTFONTASCENT:-1,-1
SELECTION:6,5
DEFAULTFONT:Palatino
DEFAULTSIZE:12
DEFAULTSTYLE:plain
TEXTDATA:of 65
USERDATA:
MOVEMOUSETICKS:0
ALIGNMENT:Left
PAGEBREAKTABLE:1
TEXT
NAME:Page
VISIBLE:true
SCRIPT:put @WindowName into wn┬
ask "Go to which Glossary page?"┬
if it is a number┬
then┬
if it > 0 and it < 66┬
then┬
set the text1_page of window wn to it┬
set the page_textdata of window wn to it┬
end if┬
end if
CURSOR:128
TYPE:Describe
PATH:@StackPath:Sample Text:myTextFile
RECT:212,202,240,222
HASFRAME:false
INSET:1
TRANSPARENT:true
EDITABLE:false
SELECTABLE:false
PAGE:0
NUMBEROFPAGES:1
SCROLL:0,0
HASVSCROLL:false
LINEHEIGHTFONTASCENT:-1,-1
SELECTION:3,2
DEFAULTFONT:Palatino
DEFAULTSIZE:12
DEFAULTSTYLE:plain
TEXTDATA:41
USERDATA:
MOVEMOUSETICKS:0
ALIGNMENT:Right
PAGEBREAKTABLE:1
TEXT
NAME:Text1
VISIBLE:true
SCRIPT:
CURSOR:128
TYPE:Field
PATH:b,43
RECT:5,16,304,181
HASFRAME:false
INSET:1
TRANSPARENT:true
EDITABLE:false
SELECTABLE:true
PAGE:1
NUMBEROFPAGES:1
SCROLL:0,0
HASVSCROLL:false
LINEHEIGHTFONTASCENT:-1,-1
SELECTION:39,38
DEFAULTFONT:Palatino
DEFAULTSIZE:12
DEFAULTSTYLE:plain
TEXTDATA:
USERDATA:
MOVEMOUSETICKS:0
ALIGNMENT:Default
PAGEBREAKTABLE:1
TRANSPARENTBUTTON
NAME:nextpage
VISIBLE:true
SCRIPT:put @WindowName into wn┬
get the page_textdata of window wn┬
add 1 to it┬
if it < 66┬
then┬
set the page_textdata of window wn to it┬
set the text1_page of window wn to it┬
end if
CURSOR:128
RECT:269,200,299,218
HASFRAME:false
USERDATA:
ISTRANSPARENT:true
RGBFILLCOLOR:0,0,0
INKMODE:srcCopy
TRANSPARENTBUTTON
NAME:prevpage
VISIBLE:true
SCRIPT:put @WindowName into wn┬
get the page_textdata of window wn┬
subtract 1 from it┬
if it > 0┬
then┬
set the page_textdata of window wn to it┬
set the text1_page of window wn to it┬
end if
CURSOR:128
RECT:194,200,224,218
HASFRAME:false
USERDATA:
ISTRANSPARENT:true
RGBFILLCOLOR:0,0,0
INKMODE:srcCopy
TRANSPARENTBUTTON
NAME:TranspButton1
VISIBLE:true
SCRIPT:global glossterms┬
put @WindowName into wn┬
--put @ClickChunk into thisone┬
--get item ((item 2 of thisone + 1)/2) of --"1,2,2,14,20,25,28,30,32,35,35,37,40"┬
if glossterms<>"" then put glossterms into g┬
else put getstr("GlossTerms") into g┬
get popitup(g,0,the clickh,the clickv)┬
get item 1 of it┬
if it <> 0┬
then┬
set the text1_page of window wn to it┬
set the page_textdata of window wn to it┬
end if
CURSOR:128
RECT:11,200,97,218
HASFRAME:false
USERDATA:
ISTRANSPARENT:true
RGBFILLCOLOR:0,0,0
INKMODE:srcCopy